package com.framework.core.domain;

import java.util.Map;

/*请求mapping封装
 */
public class Control {

	private String name;
	private String clazz;
	private String method;

	private Map<String, Result> results;

	public Control() {
		super();
	}

	public Control(String name, String clazz, String method) {
		super();
		this.name = name;
		this.clazz = clazz;
		this.method = method;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Map<String, Result> getResults() {
		return results;
	}

	public void setResults(Map<String, Result> results) {
		this.results = results;
	}

	@Override
	public String toString() {
		return "Control [name=" + name + ", clazz=" + clazz + ", method=" + method + ", results=" + results + "]";
	}

}
